Optimal. Leaf size=223 \[ -\frac {(a+b \text {ArcTan}(c x))^2 \log \left (\frac {2}{1-i c x}\right )}{e}+\frac {(a+b \text {ArcTan}(c x))^2 \log \left (\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{e}+\frac {i b (a+b \text {ArcTan}(c x)) \text {PolyLog}\left (2,1-\frac {2}{1-i c x}\right )}{e}-\frac {i b (a+b \text {ArcTan}(c x)) \text {PolyLog}\left (2,1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{e}-\frac {b^2 \text {PolyLog}\left (3,1-\frac {2}{1-i c x}\right )}{2 e}+\frac {b^2 \text {PolyLog}\left (3,1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{2 e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 223, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {4968}
\begin {gather*} -\frac {i b (a+b \text {ArcTan}(c x)) \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{e}+\frac {(a+b \text {ArcTan}(c x))^2 \log \left (\frac {2 c (d+e x)}{(1-i c x) (c d+i e)}\right )}{e}+\frac {i b \text {Li}_2\left (1-\frac {2}{1-i c x}\right ) (a+b \text {ArcTan}(c x))}{e}-\frac {\log \left (\frac {2}{1-i c x}\right ) (a+b \text {ArcTan}(c x))^2}{e}+\frac {b^2 \text {Li}_3\left (1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{2 e}-\frac {b^2 \text {Li}_3\left (1-\frac {2}{1-i c x}\right )}{2 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4968
Rubi steps
\begin {align*} \int \frac {\left (a+b \tan ^{-1}(c x)\right )^2}{d+e x} \, dx &=-\frac {\left (a+b \tan ^{-1}(c x)\right )^2 \log \left (\frac {2}{1-i c x}\right )}{e}+\frac {\left (a+b \tan ^{-1}(c x)\right )^2 \log \left (\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{e}+\frac {i b \left (a+b \tan ^{-1}(c x)\right ) \text {Li}_2\left (1-\frac {2}{1-i c x}\right )}{e}-\frac {i b \left (a+b \tan ^{-1}(c x)\right ) \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{e}-\frac {b^2 \text {Li}_3\left (1-\frac {2}{1-i c x}\right )}{2 e}+\frac {b^2 \text {Li}_3\left (1-\frac {2 c (d+e x)}{(c d+i e) (1-i c x)}\right )}{2 e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 78.30, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b \text {ArcTan}(c x))^2}{d+e x} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 2.90, size = 1324, normalized size = 5.94
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(1324\) |
default | \(\text {Expression too large to display}\) | \(1324\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {atan}{\left (c x \right )}\right )^{2}}{d + e x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )}^2}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________